using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace GameUI {
	public class ActionSkillShadowController:MonoBehaviour {

		void Start() {
			image=GetComponent<Image>();
		}

		void Update() {
			if(Player.instance.actionSkill.actionSkill!=null)
				image.fillAmount=1-Player.instance.actionSkill.actionSkill.displayAmount;
			else
				image.fillAmount=1;
		}

		Image image;
	}
}